﻿using System;
using System.Runtime.Serialization;

namespace UFIDA.U9.WSS.ProxyService.Token
{
    /// <summary>
    ///     Token返回数据
    /// </summary>
    public class TokenReturnData
    {
        /// <summary>
        ///     认证Token
        /// </summary>
        [DataMember]
        public string AccessToken { get; set; }

        /// <summary>
        ///     有效时长(秒)
        /// </summary>
        [DataMember]
        public int ExpiresIn { get; set; }

        /// <summary>
        ///     失效时间
        /// </summary>
        [DataMember]
        public DateTime ExpiresTime { get; set; }
    }
}